﻿namespace MicroCloud.Utils
{
    /// <summary>
    /// 部门审计信息接口
    /// </summary>
    public interface IDepartmentAudited : IOrganizationAudited, IDepartmentAuditedBase
    {
        /// <summary>
        /// 获取或设置 部门编号
        /// </summary>
        [DepartmentFlag]
        [DisplayName("部门编号")]
        string DepartmentId { get; set; }

    }

    /// <summary>
    /// 部门审计信息接口
    /// </summary>
    /// <typeparam name="TOrganizationKey">部门编号类型</typeparam>
    public interface IDepartmentAudited<TOrganizationKey> : IOrganizationAudited<TOrganizationKey>, IDepartmentAuditedBase
        where TOrganizationKey : struct
    {
        /// <summary>
        /// 获取或设置 部门编号
        /// </summary>
        [DepartmentFlag]
        [DisplayName("部门编号")]
        TOrganizationKey? DepartmentId { get; set; }

    }

    /// <summary>
    /// 部门审计信息基接口
    /// </summary>
    public interface IDepartmentAuditedBase
    { }

}
